using ActorSystem;

namespace Example2
{
    public class DamageBuff : BuffBase<Actor>
    {
        public int Damage = 20;

        public override void OnTrigger()
        {
            Target.Property.Health -= Damage;
            Target.OnDamage(Self, Damage);
        }
    }
}